﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVC.ViewEngines
{
	public class StaticPageViewEngine : RazorViewEngine
	{
		/// <summary>
		/// Adds view locations to razor view engine
		/// </summary>
		public StaticPageViewEngine()
		{
            base.ViewLocationFormats = base.ViewLocationFormats.Concat(new string[] { "~/StaticContent/{0}.cshtml" }).ToArray();
		}



	}

}
